<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>公司详情</title>
</head>
<body class="layui-layout-body">

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div class="body_right">
            <h4 class="nav_title">公司详情</h4>
            <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
                <ul class="layui-tab-title">
                    <li class="layui-this">公司信息</li>
                    <li>管理员信息</li>
                    <li>印章详情</li>
                </ul>
                <div class="layui-tab-content" style="height: 100px;">
                    <div class="layui-tab-item layui-show">
                        <table class="layui-table mytable" lay-even="" lay-skin="nob">
                            <thead>
	                            <tr>
	                                <th>设备编号</th>
	                                <th>设备型号</th>
	                                <th>申请日期</th>
	                                <th>开通日期</th>
	                                <th>失效日期</th>
	                                <th>设备状态</th>
	                                <th>使用次数</th>
	                                <th>操作</th>
	                            </tr>
                            </thead>
                            <tbody>
                            	    <#list pm.datas as item>
		                            <tr>
		                                <td>sj001</td>
		                                <td>v1</td>
		                                <td>2018-02-09</td>
		                                <td>2018-02-09</td>
		                                <td>2018-02-09</td>
		                                <td><span class="color_orange">待绑定</span></td>
		                                <td>0</td>
		                                <td class="allbox_a"><a href="javascript:;">详情</a></td>
		                            </tr>
                           	   </#list>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

        </div>
     </div>
<script>
    //JavaScript代码区域
    layui.use(['element','layer'], function(){
        var layer = layui.layer;
        $('.card_layerbox').find('img').click(function(){
            var id=$(this).parents('.card_layerbox').attr('id');
            // 传id
            layer.photos({
                photos: '#'+id,
                shift: 5, //0-6的选择，指定弹出图片动画类型，默认随机
            });
        })
    });

</script>
</body>
</html>